NoAVConnectionException
| Kind of class: | class |
|---|---|
| Inherits from: | Error |
| Author: | The gotoAndPlay() Team http://www.smartfoxserver.com http://www.gotoandplay.it |
| Classpath: | com.smartfoxserver.redbox.exceptions.NoAVConnectionException |
| File last modified: | Tuesday, 24 June 2008, 16:41:21 |
A RedBox exception.
Summary
Constructor
- NoAVConnectionException (message:String)
- Thrown when the connection to Red5 is not available.
Constructor
NoAVConnectionException
function NoAVConnectionException (
message:String)
Thrown when the connection to Red5 is not available.
This exception is raised when a RedBox method is called which requires a connection to Red5, but this is not currently available.
This exception is raised when a RedBox method is called which requires a connection to Red5, but this is not currently available.
Parameters:
message:
the error message.
Example:
- The following example shows how to handle the "NoAVConnectionException" exception.
try { avClipMan.getStream() } catch (err:NoAVConnectionException) { trace (err.message) }
See also:
- com.smartfoxserver.redbox.AVClipManager.getStream
- com.smartfoxserver.redbox.AVClipManager.startClipRecording
- com.smartfoxserver.redbox.AVClipManager.previewRecordedClip
- com.smartfoxserver.redbox.AVChatManager.sendChatRequest
- com.smartfoxserver.redbox.AVChatManager.acceptChatRequest
- com.smartfoxserver.redbox.AVCastManager.publishLiveCast
- com.smartfoxserver.redbox.AVCastManager.subscribeLiveCast